//
//  DataSourceModel.h
//  类
//
//  Created by rimi on 2016/12/6.
//  Copyright © 2016年 zhongshuilian. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DataSourceModel : NSObject<NSCoding>


@property (nonatomic,strong) NSString  *category;
@property (nonatomic,strong) NSString  *content;
@property (nonatomic,strong) NSString  *time;
@property (nonatomic,strong) NSString  *src;
@property (nonatomic,strong) NSString  *pic;
@property (nonatomic,strong) NSString  *title;
@property (nonatomic,strong) NSString  *weburl;
@property (nonatomic,strong) NSString  *url;
@property (nonatomic, assign) BOOL     isClick;
@property (nonatomic, assign) BOOL     isdeleted;

+ (NSArray *)modelArrayFromJsonArray:(NSArray *)array;

+ (NSString *)filePath;

+ (NSString *)saveData;


@end

@interface Clickbrowse : NSObject

@property (nonatomic, strong) NSMutableArray  <DataSourceModel *> *clickbrowseS;


- (void)save;

- (void) removeModel:(DataSourceModel *)model;

+ (instancetype)sharedClickbrowseDataModel;

@end
